package com.zbkj.crmeb.store.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zbkj.crmeb.store.dto.StoreUserGroupFeatureDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("StoreUserGroupResponse对象")
public class StoreUserGroupResponse implements Serializable {

    private final static long serialVersionUID = 1L;

    @ApiModelProperty("分群id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("分群名称")
    private String groupName;

    @ApiModelProperty("人群数量")
    private Integer groupNum;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("操作人姓名")
    private String creatorUserName;

    @ApiModelProperty("人群定义")
    private List<StoreUserGroupFeatureDTO> groupType;
}
